package com.xxg.imagemanager.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 检查图片是否存在
 *
 * @author xuxiaogang
 * @date 2021-12-15
 */
@Data
@ApiModel(value = "CheckQuery", description = "检查图片是否存在")
public class CheckQuery {
    @NotNull(message = "fileName不能为null")
    @NotBlank(message = "fileName不能为空")
    @ApiModelProperty(value = "图片路径")
    private String fileName;
}
